package com.gzz.orchid.context.application.rbac;

import com.gzz.orchid.common.core.tuple.TreeNode;
import com.gzz.orchid.context.application.rbac.pojo.OrganizationDto;
import com.gzz.orchid.context.application.rbac.pojo.OrganizationVo;
import com.gzz.orchid.context.application.rbac.queries.OrganizationQuery;

import java.util.List;

/**
 * @author higmd
 */
public interface IOrganizationHandler {
    List<OrganizationDto> listByPager(OrganizationQuery query);

    List<OrganizationDto> list(OrganizationQuery query);

    OrganizationVo detail(Long id);

    List<TreeNode<Long>> options();
}
